projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be39883
)
Make testcellarea handle RTL environment variable for testing
author
Kristian Rietveld
<kris@gtk.org>
Wed, 15 Dec 2010 20:22:35 +0000
(21:22 +0100)
committer
Kristian Rietveld
<kris@gtk.org>
Wed, 15 Dec 2010 20:22:35 +0000
(21:22 +0100)
tests/testcellarea.c
patch
|
blob
|
history
diff --git
a/tests/testcellarea.c
b/tests/testcellarea.c
index 029f507cb74e298353907821dc052805f1ca0d86..ec9398d6f265ceb8b5e655b79f7e362b53482d2d 100644
(file)
--- a/
tests/testcellarea.c
+++ b/
tests/testcellarea.c
@@
-614,6
+614,9
@@
main (int argc, char *argv[])
{
gtk_init (NULL, NULL);
+ if (g_getenv ("RTL"))
+ gtk_widget_set_default_direction (GTK_TEXT_DIR_RTL);
+
simple_cell_area ();
focus_cell_area ();
background_area ();